Assign the root of the document to the element object root. 将文档的根分配给元素对象root。
In Java, it is a common practice to assign a null value to a reference type when it is not referencing any object. 在Java中,当引用类型没有引用任何对象时将其赋空值,这是公共的操作。
Without this reference assignment, there would be no way to assign a tests due date to the Machine object. 如果不分配这个引用,那么就无法将测试到期日期分配给Machine对象。
When adding a property or method to an object constructor, you use this keyword before the property or method names to assign them to the object itself ( Listing 9). 向对象函数中添加属性或方法时,您可以在属性或方法名之前使用这个关键字来将它们指定给对象本身(见清单9)。
If you assign a string with such a format to any JavaScript variable, the variable will then refer to an object that is constructed from a string assigned to it. 如果将具有这样一种形式的字符串赋给任意一个JavaScript变量,该变量随后将引用一个通过指定给该变量的字符串构建的对象。
In order to access all the information returned by a stored procedure call, developers need to register all the output parameters beforehand and assign the result of the call to a ResultSet object. 为了访问存储过程调用返回的所有信息,开发人员需要预先注册所有的输出参数,并将调用的结果赋给一个ResultSet对象。
To define them as properties of the Gallery object, you simply assign them to the Gallery object using dot syntax& append a dot and a variable name and then assign that variable a value. 要将它们定义为Gallery对象的属性,您只需将它们赋予Gallery对象,方法是使用点语法&附加一个点,然后是变量名,最后给变量赋值。
If you assign this string to any JavaScript variable, the variable will accept the data in terms of an object. 如果将此字符串赋给任意一个JavaScript变量,则该变量将接受以这种对象为单位的数据。
First, you need to create a new variable and assign it to an instance of the XMLHttpRequest object. 首先需要创建一个新变量并赋给它一个XMLHttpRequest对象实例。
This reference is then used in the consequence part of the rule to assign tests to the Machine object. 然后,在规则的结果块使用该引用,将测试分配给Machine对象。
The straightforward way is to call the data factory again to create an object of the appropriate type, then assign it to the property in its parent object. 直接的方法为再次调用数据工厂来创建恰当类型的对象,随后将其指派给其父对象的属性。
For example, you can assign a click handler function to each element in the jQuery object by calling the click function. 比方说,您可以通过调用click函数把click处理函数指定给jQuery对象中的所有元素。
Note that one can assign many different workflows to an object. 注意可以指定多个不同的工作流到一个对象。
Then, the label algorithm is utilized to assign an exclusive label to each object in the image. 算法首先对输入的染色体图像进行了预处理,接着用标号法给图像中的每个对象赋予惟一的标号。
You can assign values to the data members, but you must first know how to refer to a member of an object. 可将值赋给数据成员,但首先必须知道如何引用一个对象的成员。
Assign instantiated objects to the session object on the server, and then retrieve from session in a new page. 将实例化的对象分配给服务器上的session对象,然后从新页中的session检索。